package com.design.mode.strategy;

import java.math.BigDecimal;

/**
 * 描述:
 * 策略接口
 * @author luzhongfu
 * Created by lucky on 2022-05-23 8:16 PM
 */
public interface IcouponDiscount<T> {

    /**
     * 优惠金额计算
     * @param couponInfo 优惠折扣信息 直减 折扣 N元购
     * @param skuPrice sku 金额
     * @return         优惠后金额
     */
    BigDecimal discountAmount(T couponInfo, BigDecimal skuPrice);
}
